interface StoreModules {
  [key: string]: any;
}
const moduleList: any = [];
let modules: StoreModules = {};
moduleList.map((item: any) => {
  modules[item.name] = Object.assign({}, item.module, { namespaced: true });
});
export default modules;
